home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3dm / video / vlgetdevice.z / vlgetdevice
Encoding:
Text File  |  2002-10-03  |  4.2 KB  |  133 lines

  1.  
  2.  
  3.  
  4. VVVVLLLLGGGGEEEETTTTDDDDEEEEVVVVIIIICCCCEEEE((((3333ddddmmmm))))                                              VVVVLLLLGGGGEEEETTTTDDDDEEEEVVVVIIIICCCCEEEE((((3333ddddmmmm))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      vlGetDevice, vlGetDeviceList - get VL device information
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      ####iiiinnnncccclllluuuuddddeeee <<<<ddddmmmmeeeeddddiiiiaaaa////vvvvllll....hhhh>>>>
  13.  
  14.      VVVVLLLLDDDDeeeevvvv vvvvllllGGGGeeeettttDDDDeeeevvvviiiicccceeee((((VVVVLLLLSSSSeeeerrrrvvvveeeerrrr ssssvvvvrrrr,,,, VVVVLLLLPPPPaaaatttthhhh ppppaaaatttthhhh))));;;;
  15.      iiiinnnntttt vvvvllllGGGGeeeettttDDDDeeeevvvviiiicccceeeeLLLLiiiisssstttt((((VVVVLLLLSSSSeeeerrrrvvvveeeerrrr ssssvvvvrrrr,,,, VVVVLLLLDDDDeeeevvvvLLLLiiiisssstttt ****ddddeeeevvvvlllliiiisssstttt))));;;;
  16.  
  17. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  18.      If vvvvllllGGGGeeeettttDDDDeeeevvvviiiicccceeeeLLLLiiiisssstttt is supplied with a pointer to a _V_L_D_e_v_L_i_s_t struct, it
  19.      fills in the struct with a list of available devices. The device
  20.      information includes the number of devices available, and an array of
  21.      _V_L_D_e_v_i_c_e structs, each of which describes a device.  The _V_L_D_e_v_i_c_e struct
  22.      contains the index of that device, the device name, the number of nodes
  23.      available and a list of _V_L_N_o_d_e_I_n_f_o structs, describing the available
  24.      nodes.
  25.  
  26.      The device names returned may be mapped to video products as follows:
  27.  
  28.      _v_i_n_o          VINO Video for Indy.
  29.  
  30.      _m_v_p           O2 Video.
  31.  
  32.      _e_v_1           Indy Video, Galileo Video, Indigo2 Video, Indigo2 Video for
  33.                    IMPACT.
  34.  
  35.      _i_m_p_a_c_t        Indigo2 IMPACT Video, Indigo2 IMPACT Compression, OCTANE
  36.                    Digital Video, OCTANE Compression. (Note that when used
  37.                    together, the video and compression boards are logically
  38.                    treated as a single device. For example, paths that span
  39.                    both pieces of hardware may be created.)
  40.  
  41.      _e_v_o           OCTANE Personal Video.
  42.  
  43.      _S_i_r_i_u_s        Sirius Video.
  44.  
  45.      _D_I_V_O          DIVO Digital Video Option.
  46.  
  47.      vvvvllllGGGGeeeettttDDDDeeeevvvviiiicccceeee returns the id of the device on which the given path was
  48.      created.
  49.  
  50. RRRREEEETTTTUUUURRRRNNNN VVVVAAAALLLLUUUUEEEE
  51.      Upon successful completion, vvvvllllGGGGeeeettttDDDDeeeevvvviiiicccceeee returns a valid device id, and
  52.      vvvvllllGGGGeeeettttDDDDeeeevvvviiiicccceeeeLLLLiiiisssstttt returns _V_L_S_u_c_c_e_s_s. Otherwise, a value of -1 is returned
  53.      and vvvvllllEEEErrrrrrrrnnnnoooo is set to indicate the error.
  54.  
  55.      An error number of _V_L_B_a_d_V_a_l_u_e means you passed a null pointer for
  56.      ddddeeeevvvvlllliiiisssstttt.... An error number of _V_L_B_a_d_S_e_r_v_e_r means that the server handle you
  57.      passed in was bad.
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. VVVVLLLLGGGGEEEETTTTDDDDEEEEVVVVIIIICCCCEEEE((((3333ddddmmmm))))                                              VVVVLLLLGGGGEEEETTTTDDDDEEEEVVVVIIIICCCCEEEE((((3333ddddmmmm))))
  71.  
  72.  
  73.  
  74. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  75.      vlCreatePath(3dm)
  76.  
  77.  
  78.  
  79.  
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.